<script setup>
const props = defineProps({
  // blue | green
  theme: {
    type: String,
    required: false,
    default: "blue"
  }
});
</script>
<template>
  <button :class="'clickBtn '+props.theme">
    <slot></slot>
  </button>
</template>
<style scoped>
.clickBtn {
  background-color: rgba(0,0,0,0);
  height: 36px;
  margin: 7px 0 7px 7px;
  border: 0;
  width: 36px;
  border-radius: 10px;
  line-height: 36px;
  padding: 3px 0 0 0;
  transition: all 0.1s ease-in-out;
  float: left;
}
.clickBtn:hover {
  background-color: rgba(220,220,225,1);
}
.clickBtn:active {
  transform: scale(0.9);
}

.blue:active {
  background-color: #409EFF;
}
.green:active {
  background-color: rgb(100,250,180);
}

</style>